﻿@model Yglab.Models.User

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/LAYOUT.cshtml";
}

<h2>Kullanıcı Sil</h2>

<h3>Bu kullanıcıyı silmek istediginize eminmisiniz?</h3>
<div id="aaa">
<fieldset>
    <legend>Kullanıcı</legend>

    <div class="display-label">
         @Html.DisplayName("İsim:")
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
    <br /><br />
    <div class="display-label">
         @Html.DisplayName("Soy İsim:")
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>
    <br /><br />
    <div class="display-label">
         @Html.DisplayName("Eposta:")
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>
    <br /><br />
    <div class="display-label">
         @Html.DisplayName("Şifre:")
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Password)
    </div>
    <br /><br />

</fieldset>
</div>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Kullanıcı Listesine Geri Dön", "Index")
    </p>
}
